Skip to main content

CanvasOperationScale

Type

statement

Summary

Apply a scale to a canvas.

Syntax

scale <mCanvas> by <mScale>

Description

Scales the transform of mCanvas by mScale.

Parameters

NameTypeDescription

mScale

An expression which evaluates to a list of numbers.

mCanvas

An expression which evaluates to a canvas.

Examples

// Scale the canvas
scale this canvas by [2,2]
Thank you for your feedback!

Was this page helpful?